local modid = 'webber_the_trainer'

---@class components
---@field webbert_gameconsole component_webbert_gameconsole

-- local function on_val(self, value)
    -- self.inst.replica.webbert_gameconsole:SetVal(value)
-- end

---@class component_webbert_gameconsole
---@field inst ent
local webbert_gameconsole = Class(

---@param self component_webbert_gameconsole
---@param inst ent
function(self, inst)
    self.inst = inst
    -- self.val = 0
end,
nil,
{
    -- val = on_val,
})

-- function webbert_gameconsole:OnSave()
--     return {
--         -- val = self.val
--     }
-- end

-- function webbert_gameconsole:OnLoad(data)
--     -- self.val = data.val or 0
-- end

---comment
---@param doer ent
---@return boolean
function webbert_gameconsole:PowerOn(doer)
    SendModRPCToClient(GetClientModRPC(modid,'webbert_gameconsole'),doer.userid)
    return true
end

return webbert_gameconsole